/up/ {
	upTime = $1;
	upNodeA = $2
	upNodeB = $3;
}

/down/ {
	time = $1;
	nodeA = $2;
	nodeB = $3;
	
	if ((upNodeA==nodeA) && (upNodeB==nodeB)) {
		print upTime-startTime, "-", substr(nodeA,4,2), substr(nodeB,4,2), upTime-startTime, time-startTime;
	}
}
